package com.dongdongshop.service;

import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@DubboService
public class TbGoodsDescServiceImpl implements TbGoodsDescService {

    @Autowired
    private TbGoodsDescMapper tbGoodsDescMapper;

    @Override
    public TbGoodsDesc selectGoodsById(Long goodsId) {
        TbGoodsDesc tbGoodsDesc = tbGoodsDescMapper.selectByPrimaryKey(goodsId);
        return tbGoodsDesc;
    }
}
